package com.hxc.basicdata.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hxc.common.annotation.Excel;
import com.hxc.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 社区数据信息对象 t_community_group
 * 
 * @author hxc
 * @date 2021-08-12
 */
public class TCommunityGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;
    /** 社区主键 */
    @Excel(name = "社区主键")
    private Long communityId;
    /** 组别负责人id(村民id) */
    @Excel(name = "组别负责人id(村民id)")
    private Integer villageId;
    /** 职务 */
    @Excel(name = "职务")
    private String position;
    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;
    /** 网格人数 */
    @Excel(name = "网格人数")
    private Integer areaNum;
    /** 党员人数 */
    @Excel(name = "党员人数")
    private Integer partyNum;
    /** 人员名单 */
    @Excel(name = "人员名单")
    private String members;
    /** 常住人口 */
    @Excel(name = "常住人口")
    private Integer oftenNum;
    /** 流动人口 */
    @Excel(name = "流动人口")
    private Integer flowNum;
    /** 企业数量 */
    @Excel(name = "企业数量")
    private Integer companyNum;
    /** 低保人口 */
    @Excel(name = "低保人口")
    private Integer guardNum;
    /** 残疾人口 */
    @Excel(name = "残疾人口")
    private Integer deformityNum;
    /** 出租数 */
    @Excel(name = "出租数")
    private Integer rentNum;
    /** 房间数 */
    @Excel(name = "房间数")
    private Integer roomNum;
    /** 实际面积 */
    @Excel(name = "实际面积")
    private BigDecimal actualArea;
    /** 计划面积 */
    @Excel(name = "计划面积")
    private BigDecimal planArea;
    /** 围垦面积 */
    @Excel(name = "围垦面积")
    private BigDecimal reclamation;
    /** 上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fillTime;

    //负责人姓名
    @TableField(exist = false)
    private String villageName;

    public void setId(Long id) 
    {
        this.id = id;
    }
    public Long getId() 
    {
        return id;
    }

    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }
    public Long getCommunityId() 
    {
        return communityId;
    }

    public Integer getVillageId() {
        return villageId;
    }

    public void setVillageId(Integer villageId) {
        this.villageId = villageId;
    }

    public void setPosition(String position)
    {
        this.position = position;
    }
    public String getPosition() 
    {
        return position;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }
    public String getPhone() 
    {
        return phone;
    }

    public void setAreaNum(Integer areaNum) 
    {
        this.areaNum = areaNum;
    }
    public Integer getAreaNum() 
    {
        return areaNum;
    }

    public void setPartyNum(Integer partyNum) 
    {
        this.partyNum = partyNum;
    }
    public Integer getPartyNum() 
    {
        return partyNum;
    }

    public void setMembers(String members) 
    {
        this.members = members;
    }
    public String getMembers() 
    {
        return members;
    }

    public void setOftenNum(Integer oftenNum) 
    {
        this.oftenNum = oftenNum;
    }
    public Integer getOftenNum() 
    {
        return oftenNum;
    }

    public void setFlowNum(Integer flowNum) 
    {
        this.flowNum = flowNum;
    }
    public Integer getFlowNum() 
    {
        return flowNum;
    }

    public void setCompanyNum(Integer companyNum) 
    {
        this.companyNum = companyNum;
    }
    public Integer getCompanyNum() 
    {
        return companyNum;
    }

    public void setGuardNum(Integer guardNum) 
    {
        this.guardNum = guardNum;
    }
    public Integer getGuardNum() 
    {
        return guardNum;
    }

    public void setDeformityNum(Integer deformityNum) 
    {
        this.deformityNum = deformityNum;
    }
    public Integer getDeformityNum() 
    {
        return deformityNum;
    }

    public void setRentNum(Integer rentNum) 
    {
        this.rentNum = rentNum;
    }
    public Integer getRentNum() 
    {
        return rentNum;
    }

    public void setRoomNum(Integer roomNum) 
    {
        this.roomNum = roomNum;
    }
    public Integer getRoomNum() 
    {
        return roomNum;
    }

    public void setActualArea(BigDecimal actualArea) 
    {
        this.actualArea = actualArea;
    }
    public BigDecimal getActualArea() 
    {
        return actualArea;
    }

    public void setPlanArea(BigDecimal planArea) 
    {
        this.planArea = planArea;
    }
    public BigDecimal getPlanArea() 
    {
        return planArea;
    }

    public void setReclamation(BigDecimal reclamation) 
    {
        this.reclamation = reclamation;
    }
    public BigDecimal getReclamation() 
    {
        return reclamation;
    }

    public void setFillTime(Date fillTime) 
    {
        this.fillTime = fillTime;
    }
    public Date getFillTime() 
    {
        return fillTime;
    }

    public String getVillageName() {
        return villageName;
    }
    public void setVillageName(String villageName) {
        this.villageName = villageName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communityId", getCommunityId())
            .append("villageId", getVillageId())
            .append("position", getPosition())
            .append("phone", getPhone())
            .append("areaNum", getAreaNum())
            .append("partyNum", getPartyNum())
            .append("members", getMembers())
            .append("oftenNum", getOftenNum())
            .append("flowNum", getFlowNum())
            .append("companyNum", getCompanyNum())
            .append("guardNum", getGuardNum())
            .append("deformityNum", getDeformityNum())
            .append("rentNum", getRentNum())
            .append("roomNum", getRoomNum())
            .append("actualArea", getActualArea())
            .append("planArea", getPlanArea())
            .append("reclamation", getReclamation())
            .append("createTime", getCreateTime())
            .append("fillTime", getFillTime())
            .append("villageName", getVillageName())
            .toString();
    }
}
